<?php
/**
 * Setting_akun_model Class
 *
 */
class Setting_akun_model extends CI_Model {
	/**
	 * Constructor
	 */
	function Setting_akun_model()
		{
			parent::__construct();
		}

	function get_akun_by_id($id){
	
		$this->db->select('*')
				->from('user')
				->where('id_user',$id);
		return $this->db->get()->row();
	
	}
	
	function update_akun($id,$data){
	
		$this->db->where('ID_USER',$id)
			->update('user',$data);
	
	}
	
	function ganti_password($id){
	
		
	
	}
	
}